package com.open.api.service;

import com.open.api.annotation.OpenApi;
import com.open.api.bo.ImageBO;
import com.open.api.bo.MessageBO;
import com.open.api.model.ResultModel;

public interface MessageService {
    /**
     *向边界服务器发送信息
     */
    @OpenApi(method = "open.api.messageservice.SendMessage", desc = "消息接口--向边界服务器发送消息,方法SendMessage")
    ResultModel SendMessage(String requestId, MessageBO messageBO);
    /**
     *从边界服务器获取所有信息
     */
    @OpenApi(method = "open.api.messageservice.GetMessageFromFtp", desc = "消息接口--从边界服务器获取所有信息,方法GetMessageFromFtp")
    ResultModel GetMessageFromFtp(String requestId,String str);
    /**
     *从边界服务器读取指定名称的文件
     */
    @OpenApi(method = "open.api.messageservice.ReadFile", desc = "消息接口--从边界服务器读取指定名称的文件,方法ReadFile")
    ResultModel ReadFile(String requestId,String fileName);
    /**
     *删除边界服务器指定名称的文件
     */
    @OpenApi(method = "open.api.messageservice.DeleteTempFile", desc = "消息接口--删除边界服务器指定名称的文件,方法DeleteTempFile")
    ResultModel DeleteTempFile(String requestId,String fileName);

    /**
     *向边界服务器发送图片
     */
    @OpenApi(method = "open.api.messageservice.SendImage", desc = "消息接口--向边界服务器发送图片,方法SendImage")
    ResultModel SendImage(String requestId, ImageBO imageBO);

    /**
     *从边界服务器读取指定名称图片
     */
    @OpenApi(method = "open.api.messageservice.ReadImage", desc = "消息接口--从边界服务器读取指定名称图片,方法ReadImage")
    ResultModel ReadImage(String requestId, ImageBO imageBO);
}
